package com.fjzx.androidframe.network.uploader;

import com.fjzx.androidframe.network.entity.UploadResponse;
import okhttp3.RequestBody;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.POST;
import retrofit2.http.Url;

/**
 * 文件上传接口
 *
 * @author xiongyongcong
 */
public interface UploadApi {

    @POST
    Call<UploadResponse> upload(@Url String url, @Body RequestBody body);
}
